<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
	"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
	"http://struts.apache.org/dtds/struts-2.3.dtd">

<struts>
	<package name="main" extends="struts-default">
		<global-results>
			<result name="login">/login.jsp</result>
		</global-results>
		<action name="loginPerson" class="org.imyy.struts.login.LoginAction">
			<result name="success">/success.jsp</result>
		</action>
	</package>
	<package name="car" extends="struts-default" namespace="/Cars">
		<action name="*" class="org.imyy.struts.CarAction" method="{1}">
			<result>success.jsp</result>
			<result name="error">error.jsp</result>
		</action>
	</package>
</struts>
